package com.roc.jpamysql.service;

import com.roc.jpamysql.dao.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {

    @Resource
    UserMapper userMapper;

    public Integer getUser() {
        return userMapper.getT1().size();
    }
}
